package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="SysDict"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class SysDict implements Serializable {

    /** identifier field */
    private String dictId;

    /** persistent field */
    private String dictName;

    /** nullable persistent field */
    private String remark;

    /** full constructor */
    public SysDict(String dictId, String dictName, String remark) {
        this.dictId = dictId;
        this.dictName = dictName;
        this.remark = remark;
    }

    /** default constructor */
    public SysDict() {
    }

    /** minimal constructor */
    public SysDict(String dictId, String dictName) {
        this.dictId = dictId;
        this.dictName = dictName;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="DictId"
     *         
     */
    public String getDictId() {
        return this.dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }

    /** 
     *            @hibernate.property
     *             column="DictName"
     *             length="60"
     *             not-null="true"
     *         
     */
    public String getDictName() {
        return this.dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    /** 
     *            @hibernate.property
     *             column="Remark"
     *             length="60"
     *         
     */
    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("dictId", getDictId())
            .toString();
    }

}
